package cn.christ.com.mobilesafe.modle;

import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;

public class AppLockHepler extends SQLiteOpenHelper{

	public AppLockHepler(Context context) {
		super(context, "applock.db", null, 1);
	}

	@Override
	public void onCreate(SQLiteDatabase db) {
		// 新建一张表
		db.execSQL("create table app_lock(_id integer primary key autoincrement,packageName text);");
	}

	@Override
	public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
		
	}

}
